﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MuseLibrary.Packets
{
    public class DrlRefPacket : Packet
    {
        internal DrlRefPacket()
        {

        }

        protected override void DoInitialisation()
        {
            var processedValues = _rawData.To10BitIntegers(1, 2);
            _drl = processedValues[0];
            _ref = processedValues[1];
        }

        private int _drl;
        private int _ref;

        public override PacketType Type
        {
            get { return PacketType.DrlRef; }
        }

        public override int Length
        {
            get { return 4; }
        }
    }
}
